package com.atguigu.jxc.service.impl;

import com.atguigu.jxc.dao.DamageListGoodsDao;
import com.atguigu.jxc.entity.DamageListGoods;
import com.atguigu.jxc.service.DamageListGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DamageListGoodsServiceImpl implements DamageListGoodsService {
    @Autowired
    private DamageListGoodsDao damageListGoodsDao;

    /**
     * 查询报损单商品信息
     * @param damageListId
     * @return
     */
    @Override
    public List<DamageListGoods> goodsList(Integer damageListId) {

        return damageListGoodsDao.goodsList(damageListId);
    }
}
